package com.xinruke.hostels.reservation.interfaces.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @ClassName PersonalBookingRoomVO
 * @CreateDate 2019/7/1
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 个人预订房间信息VO
 */
@ApiModel("个人预订房间信息VO")
@Data
public class PersonalBookingRoomVO {
    @ApiModelProperty(value = "入住性质:1因公；2因私", required = true)
    @NotNull(message = "入住性质不能为空")
    private Byte ruzhuxingzhi;

    @ApiModelProperty(value = "房间id", required = true)
    @NotNull(message = "房间id不能为空")
    private Integer fangjianId;

    @ApiModelProperty(value = "优惠价", required = true)
    @NotNull(message = "优惠价不能为空")
    private BigDecimal youhuijia;
}
